(async function(){
    if (!checkConnect()) return;
    var rtn = await loadManbers();
    if (rtn){
        var my = getMy();
        if (!my || !my.isReal){
            alert("您还不是正式会员");
            return;
        }
        getNode("refresh").onclick = load;
        load();
        async function load(){
            setLoading(1);
            publicParam.isProposaAdmin = await isVoteAdmin();
            publicParam.proposals = await getActiveProposals();
            loadPage("/common/proposalList","list");
            setLoading(0);
        }
    }
})();